/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package swimsystem;

import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

/**
 *
 * @author Administrador
 */
public class cHorarios implements ActionListener{
    
    int idHorario;
   String[]dias;
   String[]horas;
   int indexDias,indexHoras;
   Horarios miVentana_horarios;
   public cHorarios(){
       
   }
   public cHorarios(Horarios miVentana_horarios){
       this.miVentana_horarios=miVentana_horarios;
       
   }
   public cHorarios(String[]dias,String []horas,int indexDias, int indexHoras){
        this.indexDias=indexDias;
        this.indexHoras=indexHoras;
        dias=new String[indexDias];
        horas=new String[indexHoras];
        this.dias=dias;
        this.horas=horas;
    }
  
   public void altaHorario(){
       
   }
   public void buscarHorario_alumno(){
       
   }
    
    public void actionPerformed(ActionEvent e) {
        //throw new UnsupportedOperationException("Not supported yet.");
        if(e.getActionCommand().equals("Alta")){
            altaHorario();
            
        }
        if(e.getActionCommand().equals("Buscar")){
            buscarHorario_alumno();
        }
        
    }
    

}
